<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>first line</title>
    <style>
        /* :: 选择伪元素 */
        /* 找段落下首行  */
        p::first-line {
            color: goldenrod;
            font-weight: bold;
        }
    </style>
</head>

<body>
    <p>The first line of this paragraph is <code>goldenrod</code>, which is a <em>great</em> color. Here is some lipsum
    to fill it out Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at
    lobortis.</p>
</body>

</html>